package com.candy.control;

import com.candy.bean.UserInfomation;
import com.candy.service.UserInfoManagerService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author donglin
 * @Title:
 * @类名: UserInfoManagerController
 * @date 2020/10/6
 */
@RestController
@Api("用户信息管理操作")
public class UserInfoManagerController {

    @Resource
    UserInfoManagerService userInfoManagerService;


    @RequestMapping("queryUserInfo")
    @ApiOperation("用户信息查询列表")
    public List<UserInfomation> queryUserInfo(){
        List<UserInfomation> userInfoes=   userInfoManagerService.queryUserInfo();
        return userInfoes;
    }



}
